// 封装本地存储的方法  便于修改 sessionStorage/localStorage

export const setStorage = (key, value) => {
  sessionStorage.setItem(key, value)
}

export const getStorage = (key) => {
  return sessionStorage.getItem(key)
}

export const removeStorage = (key) => {
  return sessionStorage.removeItem(key)
}
